﻿using Shop.RemoteModel.Activity;
using Shop.Service.Interface;
using WeDonekRpc.Client.Interface;

namespace Shop.Service.RpcEvent
{
    internal class ActivityAuditEvent : IRpcApiService
    {
        private readonly IActivityAuditService _Service;

        public ActivityAuditEvent (IActivityAuditService service)
        {
            this._Service = service;
        }

        public bool SubmitActivityAudit (SubmitActivityAudit obj)
        {
            return this._Service.SubmitAudit(obj.ActivityId);
        }
    }
}
